<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">


<!-- remove old header -->


<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>cogen API Reference Documentation
        - Class: WSGIConnection</title><meta name="MSSmartTagsPreventParsing" content="true" /><meta http-equiv="imagetoolbar" content="no" /><link href="css/default.css" rel="stylesheet" type="text/css" /><link href="css/pygments.css" rel="stylesheet" type="text/css" />
    <!-- <link rel="shortcut icon" href="/images/favicon.ico" type="image/vnd.microsoft.icon"/> -->
    <link rel="stylesheet" href="css/apydia.css" type="text/css" />
    <script src="js/jquery-1.2.1.pack.js" type="text/javascript"></script>
    <script src="js/apydia.js" type="text/javascript"></script>
	<link rel="icon" href="images/favicon.ico" type="image/x-icon" />
</head>
<body>
    <div id="page">
        <div id="browser">
            <div class="browser-section">
                <h2>Module Index</h2>
                <ul>
                    <li>
                        <a href="cogen.html">cogen</a>
                    </li><li>
                        <a href="cogen.common.html">cogen.common</a>
                    </li><li>
                        <a href="cogen.core.html">cogen.core</a>
                    </li><li>
                        <a href="cogen.web.html">cogen.web</a>
                    </li>
                </ul>
            </div>
            <div class="browser-section">
                <h2>Methods</h2>
                <ul>
                    <li>
                        <a href="cogen.web.wsgi.WSGIConnection.html#method-make_new_coroutine">make_new_coroutine</a>
                    </li><li>
                        <a href="cogen.web.wsgi.WSGIConnection.html#method-render_headers">render_headers</a>
                    </li><li>
                        <a href="cogen.web.wsgi.WSGIConnection.html#method-simple_response">simple_response</a>
                    </li><li>
                        <a href="cogen.web.wsgi.WSGIConnection.html#method-start_response">start_response</a>
                    </li>
                </ul>
            </div>
            <div class="browser-section">
                <h2>Attributes</h2>
                <ul>
                    <li>
                        <a href="cogen.web.wsgi.WSGIConnection.html#attribute-"></a>
                    </li>
                </ul>
            </div>
        </div>
        <div id="content">
    <h1>Class: WSGIConnection</h1>
    <div class="docstring rst"></div>
    <ul class="link-bar">
    <li class="top"><a href="#header">Top</a></li>
    <li class="link-to-sourcecode">
        <a href="http://cogen.googlecode.com/svn/trunk/cogen/web/wsgi.py#L152">View source</a>
    </li>
</ul>
    <div>
        <h2>Methods</h2>
            <h3 id="method-make_new_coroutine">
                make_new_coroutine
                <span class="args">(*args, **kws)</span>
            </h3>
            <div class="docstring rst"></div>
            <ul class="link-bar">
    <li class="top"><a href="#header">Top</a></li>
    <li class="link-to-sourcecode">
        <a href="http://cogen.googlecode.com/svn/trunk/cogen/core/coroutine.py#L19">View source</a>
    </li>
</ul>
            <h3 id="method-render_headers">
                render_headers
                <span class="args">(t)</span>
            </h3>
            <div class="docstring rst"></div>
            <ul class="link-bar">
    <li class="top"><a href="#header">Top</a></li>
    <li class="link-to-sourcecode">
        <a href="http://cogen.googlecode.com/svn/trunk/cogen/web/wsgi.py#L186">View source</a>
    </li>
</ul>
            <h3 id="method-simple_response">
                simple_response
                <span class="args">(t, status, msg='')</span>
            </h3>
            <div class="docstring rst"><p>Return a operation for writing simple response back to the client.</p>
</div>
            <ul class="link-bar">
    <li class="top"><a href="#header">Top</a></li>
    <li class="link-to-sourcecode">
        <a href="http://cogen.googlecode.com/svn/trunk/cogen/web/wsgi.py#L235">View source</a>
    </li>
</ul>
            <h3 id="method-start_response">
                start_response
                <span class="args">(t, status, headers, exc_info=None)</span>
            </h3>
            <div class="docstring rst"><p>WSGI callable to begin the HTTP response.</p>
</div>
            <ul class="link-bar">
    <li class="top"><a href="#header">Top</a></li>
    <li class="link-to-sourcecode">
        <a href="http://cogen.googlecode.com/svn/trunk/cogen/web/wsgi.py#L169">View source</a>
    </li>
</ul>
    </div>
    <div>
        <h2>Attributes</h2>
            <h3 id="attribute-"></h3>
            <div class="docstring rst"></div>
            <h4>Value of </h4>
            <pre class="code"><code>{'wsgi.errors': &lt;open file '&lt;stderr&gt;', mode 'w' at 0x0096F0B0&gt;,
 'wsgi.file_wrapper': &lt;class cogen.web.wsgi.WSGIFileWrapper at 0x00FE39F0&gt;,
 'wsgi.input': None,
 'wsgi.multiprocess': False,
 'wsgi.multithread': True,
 'wsgi.run_once': False,
 'wsgi.url_scheme': 'http',
 'wsgi.version': (1, 0)}</code></pre>
            <ul class="link-bar">
    <li class="top"><a href="#header">Top</a></li>
    <li class="link-to-sourcecode">
        <a href="http://cogen.googlecode.com/svn/trunk/cogen#L0">View source</a>
    </li>
</ul>
    </div>
        </div>
        <div id="footer">
            Generated with <a href="http://apydia.ematia.de/" class="extern">
            Apydia 0.0.1</a> on 2007-12-25 18:33
        </div>
    </div>
</body>
</html>